Is metadata generate needed for repository.file? ?