And what if it's equal, e.g. one-line (compressed) file? I suppose this implementation wouldn't work at all.