private Long getTotalFileSize() {
        long total = 0;
        final Path file = getFile();
        try {
            if (Files.isRegularFile(file)) {
                total += Files.size(file);
            }
        } catch (final IOException e) {
            LOGGER.error(e::getMessage, e);
        }
        return total;
    }
Creates a new file system stream target.

@return A new file system target.
stroom-data/stroom-data-store-impl-fs/src/main/java/stroom/data/store/impl/fs/FsTarget.java