System.xml method deleteFolder marked as deprecated