Seriously, this is an intermediate subject in crypto and filesystem design. I can only give you hints. If you really want to understand this, some study on your part is required.
For example, one thing you do to prevent crafted collisions when you do not control the input to a hashing-scheme is to add a "salt" that is not accessible to the attacker. This makes even broken crypto hashes exceptionally resistant against crafted collisions. It is a well-known technique and also used in conventional hash-tables with non-cryptographic hash-functions to prevent algorithmic complexity attacks. As to random collisions, they do not happen in practice even with weaker crypto-hashes, as long as the hash-length is tailored to the maximum filesystem size.
Some level of understanding is rightfully required to make claims in this space. I do not see that level in Valery, and hence I call here "not so smart". If you take exception with that, come right out with it and do not hide behind technicalities.