code: function (query, options) {
        query = convertQueryInput(query);
        var newQuery = '[__type__ = "file"';
  
        if (!query || query.replace(/\s+/, '').length == 0) {
          newQuery += ']';
        } else if (query[0] != '[') {
          newQuery += '].' + query;
        } else {
          newQuery += (query[1] == ']' ? '' : ', ') + query.substring(1);
        }
  
        return this.search(newQuery, options);
      }
docs: Search CloudMine explicitly querying for files.
  Note: This does not search the contents of files.
  Results may be affected by defaults and/or by the options parameter.
  @param {string} query Additional query parameters to search for.
  @param {object} [options] Override defaults set on WebService. See WebService constructor for parameters.
  @return {APICall} An APICall instance for the web service request used to attach events.