code: def readlines(self, filepath):
          
          target = self._read_check(filepath)
  
          if os.path.isfile(target):
              with open(target) as f:
                  lines = f.readlines()
  
              #If we got this file via SSH, delete it from the temp folder
              if self.is_ssh(filepath):
                  os.remove(target)
          else:
              lines = []
  
          return lines
docs: Returns the list of strings extracted from the file using either
          open() if it is a local file, or by copying over the network using
          sftp over SSH.