It looks like you never use the csv library.