com/javarush/task/task17/task1721/Solution.java:31: error: cannot find symbol
allLines = Files.readAllLines(Path.of(pathFirstFile));
^
symbol: method of(java.lang.String)
location: interface java.nio.file.Path
package com.javarush.task.task17.task1721;
import java.io.IOException;
public class CorruptedDataException extends IOException {
}