Added path of file to error report when exception is thrown.