avoid using String paths since the JDK on Windows cannot parse its own
URLs as file names.