I have been testing with my own file and it seems to work correctly, so I do not get why it is still failing the 3rd condition.