save to file and read from file support added
cleaned up, file support finished