Added new configuration: temporaryUploadFolder. Refactored code to
leverage on this new configuration.