Chaning RepositoryManager#delete to take a file
Using files with repository manager instead of paths