Ok, I'm confused with your code. Why do you ask for the password to the backup when FileNotFound Exception is thrown? Also, the reason yeet1 cant be found is because of scope.

Scanner yeet1=new...