Clean up filesystem and stabilize the path walking