Test file changed content
added input.trim() in main
added commandDone class