add checker to find truncated files