import java.io.File;
import java.io.IOException;
public class Main {
public static void main(String[] args) throws IOException {
File myFile = new File("filename.txt");
myFile.delete(); // Delete the file if it already exists
System.out.println(myFile.createNewFile());
System.out.println(myFile.createNewFile());
}
}