If the file is completely empty, won't `line` be `null` here?