@NonNull
    public static String fileToUrl(final File file) {
        return FILE_PROTOCOL + file.getAbsolutePath();
    }
Build an URL from a file name.

@param file a local file name
@return an URL with the <tt>file</tt> scheme
main/src/main/java/cgeo/geocaching/utils/FileUtils.java