Changed gmtime() added to filename of results to localtime() because is
was showing the time in the wrong timezone!
Results can now be saves as .csv and as json .txt files. Models can also
be opened from .txt files. *Needs testing*