Generalize FileModuleRegistry -> ResourceMR