modified repo_file