added file to do optical sourcefinding