Tag File preparation