Added a handler that would upload a file if exists and delete it after it is done with it.