FIX: Create hash only if a new file was uploaded