load() save() methods changed to allow generic naming of ouput and input files, several bugs corrected, handling of files changed