How to identified the truncated root files


  I am running my analysis script over many of root files.  For some of the files the anlysis script says :

file rfio:///castor/ is truncated at 14764857007 bytes: should be 14784303441, trying to recover

Is there a way by which before running my anlysis sript over all the files i know which files are truncated. I mean if I have a root files how can i check whether it is truncated or not??

Thanks in advance,
with best regards,

see doc of TFile::Recover at: