Increase performance when there are more files in the folders.