Swapped parseLine and parseConfig for readability