Revert "Attempt to fix file upload issue"

This reverts commit 88b247bdf20748cb2419331461b0208a1c73a2d5.