Another way to do this is to simply drag and drop the File Upload or Image Upload components from the "add component" tab at the left.
To upload a file, users can find and select it from your computer or drag and drop it into the field.