Make resolver filename aware