split example file and work file