support change file extension.