File parser into go structs