Add refresh flag to file upload.

Fixes #230