remove old files, modify CommandPromptControl