in.path, in.prefix, outfolder fixed to be compatibel with NARR extraction