/** Heuristig for detecting files that *could* contain JavaScript instructions or
  * things that may look like HTML to a browser and are thus
  * potentially harmful. The present implementation will produce false positives in some situations.
  *
  * @param string $file Pathname to the temporary upload file
  * @param string $mime The mime type of the file
  * @param string $extension The extension of the file
  * @return bool true if the file contains something looking like embedded scripts
  */
 function detectScript($file, $mime, $extension)
 {
     return UploadForm::detectScript($file, $mime, $extension);
 }