Files are not affected when a subdomain is deleted. You can manually remove them using filemanager or any FTPclient.
To remove one or more subdomains, do the following:
Click on the button with a red cross to delete a specific subdomain or "Delete all subdomains
"To delete all at once:
Confirm the operation: