Fixed upload bug and now no duplicate files should be possible