I'm trying to read a `.CSV` file line by line, each line contains: 

```
name, age, occupation, ID

```

My `.csv` file has 3 lines currently and when I try to read them, I always get a null value for my string.

Here is the code:

```
public static List<Person> ReadFileToList(string filePath)
{
    List<Person> personList = new List<Person>();

    StreamReader reader = new StreamReader(filePath);
    string personstring;

    while ((personstring = reader.ReadLine()) != null)
    {
        Person person = ConvertStringToPerson(personstring);
        personList.Add(person);
    }

    return personList;       
}

private static Person ConvertStringToPerson(string personString)
{
    string[] personData = personString.Split(',');

    if (personData.Length == 4)
    {
        Guid id = Guid.Parse(personData[3]);
        return new Person(personData[0], personData[1], personData[2], id);
    }
    else
    {
        throw new FormatException(personString + "is an incorrect format");
    }
}

```