add check corrupted files