returns what parts of a file the database has as bitsets