Revert "Revert "add test file to show the max open files.""

This reverts commit ea70f29648e6ab431dfc18dddc4a4831d78e7f84.