Fixed notification email error in Prod environment; realFilePath starts with '/'