Use readlines to parse config