Added MIT license to code and validity check for values being saved to
file (do they contain Record or Field seperator)