Moving parse_peerspec to reading file