@spinscale Actually, we check `exists()` and `isDirectory()` some lines before.
So I guess what you described can not happen.

The more I think about it the more I think the NPE was not what I was thinking about but as you said pluginsFile.listFile() send a NPE if the directory is not readable.

Going to add a simple `file.canRead()` as you suggested in place of testing for something which can not be null!