Added helper method to write to File
1 file changed