Do not use File#toURL (marked as deprecated in JDK 1.6)