@cli.register_custom_action('<STR_LIT>', ('<STR_LIT>', '<STR_LIT>'))<EOL><INDENT>def get(self, file_path, ref, **kwargs):<DEDENT>
file_path = file_path.replace('<STR_LIT:/>', '<STR_LIT>')<EOL>return GetMixin.get(self, file_path, ref=ref, **kwargs)<EOL>
Retrieve a single file.

        Args:
            file_path (str): Path of the file to retrieve
            ref (str): Name of the branch, tag or commit
            **kwargs: Extra options to send to the server (e.g. sudo)

        Raises:
            GitlabAuthenticationError: If authentication is not correct
            GitlabGetError: If the file could not be retrieved

        Returns:
            object: The generated RESTObject