added handling of errors from filePipeReader