Fix saveFile