Do all filesystem reading and writing in command runner