Method name saveTofFile -> saveToFile