Refactor MetaFileManager a little