Refactoring class FileMetaData