def get(self, path_to_file):
return self._get(path_to_file)<EOL>
Gets an artifact directory by its path.

        See the `Go artifact file documentation`__ for example responses.

        .. __: http://api.go.cd/current/#get-artifact-file

        Args:
          path_to_file (str): The path to file to get. It can be nested eg
            ``dist/foobar-widgets-1.2.0.jar``

        Returns:
          Response: :class:`gocd.api.response.Response` object