getnextline Get_next_line is similar to getline function but does not use file pointeres. This is my super compact code for it