magic enconding files