Hey I've been having trouble with this one.
First of all I have this message (which is not problematic right now):
WARNING: Usage of deprecated method "safeIsDirectory?(f)" or its alias.
The method is slated to be removed in Essentials v22.
Use "FileTest.directory?(f)" instead.
And then the...