Updated the database to index thrift files with id and filename§