widened triming of versions read from files to whitespaces
added version command