Now also utilizes the /etc/mime.types or /etc/apache2/mime.types to determine the mimetype().