use Files API rather than FileWriter
1 file changed