test invalid file