save work on recursion and filesystem