removed temp file created from file upload to reduce the storage usage in app