Final Version with cleanup() added to remove all tmp files