improved deployment for empty path
added several methods to FileUtils (toURL methods)