Improved: Reduce fd usage