Since I want to traverse multiple directories, the async method will introduce somewhat redundant indenetation to the code.