edited passing of modfile