Adds all elements of "card" and corresponding data files