beginning of the tavor file parser