* Напишите метод, который будет запускать метод concurrenceMethod и сохранять его результат в файл. Метод должен вернуть путь до файла * на выходе - C:\IdeaProjects\test\file.txt Вот мой код: public static String writeFile() throws ExecutionException, InterruptedException { File file = new File(String.valueOf(concurrenceMethod())); if(file.exists()){ return file.getAbsolutePath(); } return file.getAbsolutePath(); }