public static void createFile(String directory,String fileName){
File file = new File(directory,fileName);
if(!file.exists()){
file.getParentFile().mkdirs();
try {
file.createNewFile();
} catch (IOException e) {
e.printStackTrace();
}
}
}