Remove the custom RecursiveDirectoryIterator as it caused some issues.