Add a file() method to Git::Repository that mimics Path::Class::File