Split big file into files per class