Now all files are processed.
Cmd-line arguments implemented.
Not all parameters work as proclaimed, but the script is functional.