Added template for querying meta-db and doing something with resulting files. NOTE: also changed load of self.filename to allow one file to work that had bad self.text['fil'], but still losing one file where calculated filepath is wrong -- Need to decide how to handle these