More elegant way of parsing file