Mod fileencoding