Change private parse to expect a match object, and creates the logic for
expanding file includes.