renaming type file