Revert "Bugfixes for uploading files"

Reverts hra-team/tamboti#27