getType(filepath) {
    const parsedMime = this.lib.getType(filepath);
    if (!!parsedMime) return parsedMime;
    return null;
  }
Returns the MIME type of the file. If the file has no extension found, it will be processed as a text file.
@param {string} filepath
@returns {string}