remove file suffix