Created a clean web function to remove segment files. Added its use to HTTPSClient's console writer function.