modifed file read for new microscope