Takes in command line args for the input and output directories.