Refactor reading and writing files
Switch to load and dump
A flag to prevent excessive disk reads on find