generateFileHash() - If we can't generate a secure, then don't generate any token