<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def extract_only_content(self, path=None, payload=None, objectInput=None):
 """ Return only the text content of passed file. These parameters are in OR. Only one of them can be analyzed. Args: path (string):
 Path of file to analyze payload (string):
 Payload base64 to analyze objectInput (object):
 file object/standard input to analyze Returns: text of file passed (string) """

        if objectInput:
            switches = ["-t"]
            result = self._command_template(switches, objectInput)
            return result, True, None
        else:
            f = file_path(path, payload)
            switches = ["-t", f]
            result = self._command_template(switches)
            return result, path, f