Split list into two files