interface to run queries on the sqlite files from MSD.