That warn needs to be a continue, surely - or we risk stomping the file later (if, perversely, we're able to open for writing when we get to that).