rename pattern files