renames and clean up of cup file