Class for Mongo and File operations