begining of repository-file updated implementation