Checked my code on 10 different files. Everything works fine, but the last condition fails.