small improvements to file parser