Adding code to remove tmp files after upload