Complete File Upload Function

Only .csv files are accepted. Upon successful loading, the data will be
converted to JSON, ready for use.