Update find_obj.py

Added additional error checking for the loaded files and modified the detector check to be more pythonic (is versus ==).