class Files {

    public static void appendFiles(File target, File... filesToAppend) throws IOException {
        BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(target, true));
        try {
            for (File file : filesToAppend) {
                IOs.copy(new BufferedInputStream(new FileInputStream(file)), bos, true);
            }
        } finally {
            IOs.closeSilently(bos);
        }
    }

    private  Files();

}