Parser for reference file formats