Added tooth file parsing