opendir replaced with JFolder::files