Remove duplicate methods for reading and saving to file