Dev Fixed double-declared function deleteFiles.