Make resolver filename aware

This allows a resolver to take the filename of the currently processed file into account.
gotcha