use only filename for regex match