modified csv1.php with unset functions as an attempt to combat the memory limit errors