Refactor to use node fs instead of dirty