Split files by number of lines