add encoding information in every file