modify mkdir dir filename