added loadfile and dumpresults functions
use function to load file
create new file