this is more comprehensive than the two file check; as far as I knew, there was only three files in a note folder... except for the All Notes note folders, then there might be attachments. So, while this is more comprehensive, from my limited experience, the original line seemed all that was necessary.