Added a function to clean up the output files generated by previous executions of the script.