def fromFile(cls, filepath): """Create a FoamFile from a file. Args: filepath: Full file path to dictionary. """ return cls(values=foamFileFromFile(filepath, cls.__name__))