Read data from selected file