Move SchemaFile functionality to Schema and remove SchemaFile.