Added a class for converting old mongodb records to the new file-based system