optimized FileMetaData constructors and updated test for this