open iris files with  statement to avoid ResourceWarning
Merge pull request #3074 from msalahi/iris-file-warnings

open iris files with 'with' statement to avoid ResourceWarning