[BUGFIX] Solved issue in uploading files to a non public folder

Added an extra check to FileUtility::add
The function no longer gives an error when the folder cannot be found

Thanks to rvkammen