Magic encoding files