change cli interface using docopt
normalize output_file parameter name
add filter function to CLI