def __init__(self, filename, sldir='<STR_LIT:.>', sep='<STR_LIT:U+0020>', datatype='<STR_LIT>',<EOL>headers=[], dcols=[], data=[], header_char='<STR_LIT:H>',<EOL>read=True, headerlines=[]):
if filename.startswith('<STR_LIT:/>'):<EOL><INDENT>sldir='<STR_LIT>'<EOL><DEDENT>self.sldir=sldir<EOL>self.files = []<EOL>self.header_char=header_char<EOL>self.hattrs=[]<EOL>self.dcols=[]<EOL>self.data ={}<EOL>self.headerLines=[]<EOL>self.files.append(filename)<EOL>self.datatype=datatype<EOL>if '<STR_LIT>' in filename or '<STR_LIT>' in filename:<EOL><INDENT>self.datatype='<STR_LIT>'<EOL><DEDENT>if read:<EOL><INDENT>self.hattrs,self.data=self._readFile(sldir,filename,sep)<EOL>self.dcols=list(self.data.keys())<EOL><DEDENT>else:<EOL><INDENT>a=self.write(filename,headers,dcols,data,headerlines,sldir,sep)<EOL>if a ==None:<EOL><INDENT>return None<EOL><DEDENT>self.hattrs,self.data=self._readFile(sldir,filename,sep)<EOL><DEDENT>self.dcols=list(self.data.keys())<EOL>
Init method that reads in ascii type files and trajectory type
files.  By default this method reads ascii type files.  If the
user wants a trajectory file read, either the file must have
'trajectory' in the filename or the user must set the
datatype='trajectory'.

Parameters
----------
filename : string
    The name of the file we are looking at, or writeing to.
sldir : string, optional
    Standard directory of filename. The default is '.'.
sep : string, optional
    The seperator that seperates column attributes in filename.
    The defaults is '  '.
datatype : string, optional
    What type of ascii table you are reading and or writeing.
    The only two options currently are 'normal' and
    'trajectory'.  The default is 'normal'.
Headers : list, optional
    A list of Header strings or if the file being writen is of
    type trajectory, this is a dictionary of header attributes
    and their associated values. The default is [].
dcols : list, optional
    A list of data attributes. The default is [].
data : list, optional
    A list of lists (or of numpy arrays) of columns of data.
    The default is [].
header_char : caracter, optional
    The character that indicates a header lines.  The default
    is 'H'.
read : boolean, optional
    Boolean of weather this is reading or writing a file.  The
    default is True.
headerlines : list, optional
    Additional list of strings of header data, only used in
    trajectory data Types. The default is [].