code: def copyfrom_file_path(self, query, path, compress=True,
                             compression_level=DEFAULT_COMPRESSION_LEVEL):
          
          with open(path, 'rb') as f:
              result = self.copyfrom_file_object(query, f, compress,
                                                 compression_level)
          return result
docs: Gets data from a readable file into a table
  
          :param query: The "COPY table_name [(column_name[, ...])]
                             FROM STDIN [WITH(option[,...])]" query to execute
          :type query: str
  
          :param path: A path to a file
          :type path: str
  
          :return: Response data as json
          :rtype: str
  
          :raise CartoException: