Splits files by number of lines per file