def loadDurFileToMov(self, fileName):
        """ Takes a file path, returns a movie object """
        fileName = os.path.expanduser(fileName)
        #self.helpMov = Movie(self.opts) # initialize a new movie to work with
        try:
            f = open(fileName, 'rb')
        except Exception as e:
            return False
        if (f.read(2) == b'\x1f\x8b'): # gzip magic number
            # file == gzip compressed
            f.close()
            try:
                f = gzip.open(fileName, 'rb')
            except Exception as e:
                return False
        else:
            f.seek(0)
        try:    # Load json help file
            #pdb.set_trace()
            loadedContainer = durfile.open_json_dur_file(f, self)
            opts = loadedContainer['opts']
            mov = loadedContainer['mov']
            return mov, opts
        except:
            #pass    # loading json help file failed for some reason, so...
            return False
 Takes a file path, returns a movie object 
durdraw/durdraw_appstate.py