Automatically upload files.