Contains hidden functions to handle enum file type
helper function for generating a record file
Contents: