List<String> (@NotNull String testDataFileRelativePath, PsiMethod method) { return getFileNames(method, false).stream() .map(TestDataFile::getPath) .filter(path -> path.endsWith(testDataFileRelativePath.startsWith("/") ? testDataFileRelativePath : "/" + testDataFileRelativePath)) .distinct() .collect(Collectors.toList()); }