Created method for converting a file to a MRFile + partitioning