Added code to skip files that won't read