def _open(self):
self._sample = None<EOL>formatting_parameters0 = {'<STR_LIT>':        '<STR_LIT>',<EOL>'<STR_LIT>':       '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>':     '<STR_LIT:\\>',<EOL>'<STR_LIT>':      '<STR_LIT:">'}<EOL>formatting_parameters1 = self._helper.pass1(self._filename, formatting_parameters0)<EOL>self._formatting_parameters = formatting_parameters1<EOL>if formatting_parameters1['<STR_LIT>'] == '<STR_LIT>':<EOL><INDENT>self._get_sample('<STR_LIT:rb>', None)<EOL>self._detect_encoding()<EOL><DEDENT>if formatting_parameters1['<STR_LIT>'] == '<STR_LIT>':<EOL><INDENT>self._get_sample('<STR_LIT>', formatting_parameters1['<STR_LIT>'])<EOL>self._detect_delimiter()<EOL><DEDENT>if formatting_parameters1['<STR_LIT>'] == '<STR_LIT>':<EOL><INDENT>if not self._sample:<EOL><INDENT>self._get_sample('<STR_LIT>', formatting_parameters1['<STR_LIT>'])<EOL><DEDENT>self._detect_line_ending()<EOL><DEDENT>self._formatting_parameters = self._helper.pass2(self._filename,<EOL>self._formatting_parameters,<EOL>formatting_parameters1)<EOL>self._open_file('<STR_LIT>', formatting_parameters1['<STR_LIT>'])<EOL>self._csv_reader = csv.reader(self._file,<EOL>delimiter=self._formatting_parameters['<STR_LIT>'],<EOL>escapechar=self._formatting_parameters['<STR_LIT>'],<EOL>lineterminator=self._formatting_parameters['<STR_LIT>'],<EOL>quotechar=self._formatting_parameters['<STR_LIT>'])  <EOL>self._sample = None<EOL>
Opens the next current file with proper settings for encoding and delimiter.