Added ROI stamperOuter and a function to check whether files are nifti