<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def interpret(self, msg):
 """ Try and find the image file some magic here would be good. FIXME move elsewhere and make so everyone can use. interpreter that finds things? """

        for gallery in msg.get('galleries', []):
            self.add_folder(gallery)
            
        image_file = msg.get('image')
        if not image_file: return

        return self.find_image(image_file)