read from file

added read from file into structs