working on writeToFile