if line is null , not append to list