handle query params for file path
get file contents for the commit when a path is supplied