updates to file parsing