removed whitespace at end of lines
added morehelp option to describe input file format