The dispose call is important to cleanup temporary files