Revert "Corrected uploaded file path overwriting file path"

This reverts commit 45f9104d17e7be1d91e156a43909982cf03e2248.