Removing unnecessary .metadata files