Added basic data file reading functionality