Added missing continue statement so the program doesn't panic on invalid filename.