Revert "Support uploading files"

This reverts commit df3181d7b2afceec13e6a18ea794a1026cdd191c.