I was wondering how to make a program that when I plug in my USB drive the console then spits out a specific passcode that is set in the USB itself. But not before it has been plugged in(maybe prompt the user to put it in), and when the USB is disconnected then have the passcode disappear after 5 seconds(or just kill the program).