Replace File.pathSeparator with File.separator