Quick fix to stop crashing on reading subdir.