I upload a file two time, it save the file two time with different hash prefix, that's a bug!

I think, before we upload a file, we should calculate the SHA1 or MD5 sum of the file, and then check if the file have uploaded alerady, if true, just return the same link, else generate a new link