Rename file
set default mime type.