cleaning up metadata files.