Working edit text file saver