added ability to read xyz files with multiple structures