You should add, a drop menu with commands if a valid txt file with a list of them is present if not, it can just take your current input box, so it changes state from drop menu if txt availible and to input box if it isn't, and also about backup wise just make it so it saves the original as a copy/backup before editing.