Start extending __main__ to loop through the input directory