Corrected function names to delete files from the tern server