def image_file(path=None, zscript='<STR_LIT>', xscript='<STR_LIT>', yscript='<STR_LIT>', g=None, **kwargs):
if '<STR_LIT>' in kwargs: delimiter = kwargs.pop('<STR_LIT>')<EOL>else:                           delimiter = None<EOL>d = _data.load(paths=path, delimiter = delimiter)<EOL>if d is None or len(d) == <NUM_LIT:0>: return<EOL>default_kwargs = dict(xlabel = str(xscript),<EOL>ylabel = str(yscript),<EOL>title  = d.path,<EOL>clabel = str(zscript))<EOL>default_kwargs.update(kwargs)<EOL>X = d(xscript, g)<EOL>Y = d(yscript, g)<EOL>Z = _n.array(d(zscript, g))<EOL><INDENT>Z = Z.transpose()<EOL><DEDENT>image_data(Z, X, Y, **default_kwargs)<EOL>
Loads an data file and plots it with color. Data file must have columns of the
same length!

Parameters
----------
path=None
    Path to data file.
zscript='self[1:]' 
    Determines how to get data from the columns
xscript='[0,1]', yscript='d[0]' 
    Determine the x and y arrays used for setting the axes bounds
g=None   
    Optional dictionary of globals for the scripts

See spinmob.plot.image.data() for additional optional keyword arguments.
See spinmob.data.databox.execute_script() for more information about scripts.