File name checking was broken.