edit optics file