Ipmroving logging when saving filename to clipboard.