Corrected ResourceComponent tutorial
Corrected ResourceComponent tutorial

Corrected the checks for valid files in the sample code for the
ResourceComponent tutorial.

Signed-off-by: Robert Smith <22c25089779475e35eafae66ad8a8e3c15f3fa55@ornl.gov>
eclipse/ice,eclipse/ice,eclipse/ice,eclipse/ice,eclipse/ice,eclipse/ice