now able to set prefix and file extension automatically NIFTI