code: def query_file(self, file_sha, verbose=False):
          
  
          # Sanity check sha hash input
          if len(file_sha) not in [64, 40]:  # sha256 and sha1 lengths
              print('File sha looks malformed: {:s}'.format(file_sha))
              return {'file_sha': file_sha, 'malformed': True}
  
          # Call and return the internal query method
          return self._query('file', file_sha, verbose)
docs: Query the VirusTotal Service
              Args:
                 file_sha (str): The file sha1 or sha256 hash
                 url (str): The domain/url to be queried (default=None)