I still dont understand how the confidentiality of user data is ensured.
Files can be built in an infinite number of ways and algorithms provide general guidelines for doing that. Users are able to choose how information is rewritten and only he or people to whom he grants permission can access it.