I have a 7z file with an unencrypted internal filename. When I right click on it, create a file with the same name, select the password and delete source file option, it starts to compress. Eventually 7zip deleted my source file but did not keep the new compressed product.