add test for recursive file stream