output new files with same separator