refactor to filter interface pattern

we would usually expect position command line
arguments to specify file names referring to files
that contain data to be processed, this interpretation
of arguments as raw data is a little non-conventional.