1.Remove temp files in case of an exception
2.Create a temp folder using the name of a report