Adding file read to worker. Adding parameter reads in main.