Automates agent-adding in commanderconfig.xml
Strip extra spaces from filename and protocol