New way to read file and can now execute traces