Mike's solution is great. It's also the best way to do it in the regular version of Origin.
Another solution would be to perform file checking in the "for" loop using an "if" statement. Unfortunately, the commands required to do this are only available in OriginPro! If you are interested, feel free to contact our Sales Department at sales@originlab.com.
- rtoomey