String fileSavePath = "E:/temp";
File saveFile = new File(fileSavePath);
if(!saveFile.exists()){
saveFile.mkdirs();
}
String newFileName ="filename.exe";
uploadFile = new File(fileSavePath+newFileName);
if(!uploadFile.exists()){
uploadFile.createNewFile();
}