added path to warning message formatting