Today was day of refactoring filesystem abstraction code.
I overcomplicated the functions by using callbacks and simplified them by converting to async functions.
Lesson: that’s the reality of programming. You don’t always write the perfect version of the code and that’s ok. It’s always possible to improve the code the later.