tree.each_blob do |file|
        filepath = [path, file[:name]].select(&:present?).compact.join('/')
        contents << GitRepository::Files::GitFile.new(self, rugged_commit, filepath)