Remove duplicated file suffix