@Test
void getInputStream() throws IOException {

    Path path = Paths.get(rootProjectDir.getRoot().toPath().toString(), "file.file");
    Files.write(path, "Test".getBytes(Charset.defaultCharset()));
    InputStream stream = FileUtils.INSTANCE.getInputStream(path.toFile());
    assertNotNull(stream);
    // this is required while running in windows env it' s not possible to delete folders with files inside
    stream.close();
    Files.delete(path);
}