Remove unused key and update default output file