barely working file uploader