Added support for compressed nifti files