@Override
    public Path createFile(String filename) throws IOException {
        return createFile(filename, (InputStream) null);
    }
@Test
    void shouldThrowExceptionGivenFileAlreadyExist() throws IOException {
        String workingDirId = IdUtils.create();
        TestWorkingDir workingDirectory = new TestWorkingDir(workingDirId, new LocalWorkingDir(Path.of("/tmp/sub/dir/tmp/"), workingDirId));

        workingDirectory.createFile("folder/file.txt", "1".getBytes(StandardCharsets.UTF_8));
        Assertions.assertThrows(FileAlreadyExistsException.class, () -> {
            workingDirectory.createFile("folder/file.txt", "2".getBytes(StandardCharsets.UTF_8));
        });
    }