public String readFile(final String inputFile) throws IOException {

        Path inputFilePath = Paths.get(inputFile);

        return Files.readString(Paths.get(inputFilePath.toString()));
    }
@Test
    public void testReadFile() throws IOException {

        String content = "x y z";
        Path path = Paths.get(temporaryDirectory.getPath(), FOOBAR);
        File letters = path.toFile();
        Files.write(letters.toPath(), Collections.singletonList(content));

        String result = fileUtil.readFile(letters.getPath());

        assertAll(
                () -> assertTrue(Files.exists(letters.toPath())),
                () -> assertTrue(result.length() > 0),
                () -> assertTrue(result.startsWith("x")),
                () -> assertTrue(result.endsWith("z\n")));
    }