Updated to fix exception attribute in UFile and to include deleting the directory ofthe file when the file is deleted.