Test that invalid file name is indicated