public static String asUrl(File file){
  return PROTOCOL + file.getAbsolutePath();
}

public static String asUrl ( File file ) { return PROTOCOL + file . getAbsolutePath ( ) ; }
prefixes ` file : / / ` to the file ' s absolute path .
