Fixed so that the cameras write to different files