getResultContent
Reads the file that stores result if the variable underlying result is registered in vars. Truncates the file content up to Configuration.PipelineStage.OutputTruncation.reportOutputLength bytes if it is too big. Otherwise return empty content.
Throws
if file reading failed.