def files(xscript=<NUM_LIT:0>, yscript=<NUM_LIT:1>, eyscript=None, exscript=None, g=None, plotter=xy_databoxes, paths=None, **kwargs):
if '<STR_LIT>' in kwargs: delimiter = kwargs.pop('<STR_LIT>')<EOL>else:                           delimiter = None<EOL>if '<STR_LIT>' in kwargs: filters = kwargs.pop('<STR_LIT>')<EOL>else:                         filters = '<STR_LIT>'<EOL>ds = _data.load_multiple(paths=paths, delimiter=delimiter, filters=filters)<EOL>if ds is None or len(ds) == <NUM_LIT:0>: return<EOL>if '<STR_LIT:title>' not in kwargs: kwargs['<STR_LIT:title>']=_os.path.split(ds[<NUM_LIT:0>].path)[<NUM_LIT:0>]<EOL>plotter(ds, xscript=xscript, yscript=yscript, eyscript=eyscript, exscript=exscript, g=g, **kwargs)<EOL>return ds<EOL>
This will load a bunch of data files, generate data based on the supplied
scripts, and then plot this data using the specified databox plotter.

xscript, yscript, eyscript, exscript    scripts to generate x, y, and errors
g                                       optional dictionary of globals

optional: filters="*.*" to set the file filters for the dialog.

**kwargs are sent to plotter()