Added deleteFolder function