script to check local missing or duplicate flat ntuples