Not directly using fs here