finished CSV upload functionality.