modified the IO codes for the camera ID data file