beginings of data file parser