#read from upload File viz FileStorage object
def _read_from_file(file):
_file_content = None
try:
_file_content = file.read()
util.debug_store['file_content at datagatherer'] = _file_content
except IOError as io_error:
util.debug_store['io_error at datagatherer'] = io_error.__traceback__
raise io_error
else:
return _file_content