reads in atoms and atom connections from out file