Reading of the dataset into input and structure objects