resolver returns path even if file doesn't exist