hash_file function must take absolute filepath
seek 0 on file or upload and modify actions will send empty file