use a better order fileencondings