i have written some code that goes through a directery of .csv files and executes some function with them. But, as there are alot of files, how would I implement some exception handling so that if errors are encountered while executing, they can be written to a file and then the script moves on to the next file, versus just erroring out. Does any one know how I would go about this?