Split sample data into seperate files