cleaning up offline file format processing to make it easier to add them in the future