Separate out file loading and parsing.