modified ReadFrom in File.java so that it properly escapes new line characters