File filename = new File("Output " + n + ".txt");
while (filename.exists())