Added details reading and changed the name of the DataOutputStream from
in to out.