compute checksum of uploaded files to check for file integrity server side