Removed queue, moved file read to inside main loop.