add flag to recurse into subdirectories

Was wondering why this did not work. Fixes #58