parsing argument

handling argument for source directory and output directory