file and folder deletion now works