First pass at parsing a file