bug fixes, improving manpage and adding --files option