Updated javadoc for the readFile method
Added support for fields with whitespaces in the name