multipart/form-data, config file, cleaning up and finished getMimeType