outputFileName is different from rootName