first pass on file and variable loader