prevent mimetype warning for non existing files