I have mutilate files in a folder and i read the lines from the files and do some execution on it and i use a loop to read the file. I want to know is there anyway to mark a file as unreadable for any reason if the file was not readable for example if its corrupted or if its a binary file so that if i run the programme again it will skip the file.