created seperate files for each process