refactor code for handling multiple files into multifile.py; add pkz-contour script