Summary
If a file is uploaded to a File Upload field, and that File Upload variable is included in a read-only Section in a future user task, the File Upload variable will become blank after the user task is performed.
Workaround
Move the File Upload variable out of the read-only Section, and make the field read-only on its own.