fixing a bug with NumFiles