Split data into multiple files and added a sync time with internet option