Added the ability to save the application upload file to local disk for debugging and testing purposes.