join the files after creating them