fix splitFiles again

remove the int typecast and add >=
Removed extra test material