V1.1 gRootNumberOfFiles++ bug

moved increment of gRootNumberOfFiles to the right place