Add queries for included files. Fixes #30