Add function to return line number of object in a config file. It's a little resource intensive.