split to files