split to file