Fix the spelling of "retrieves"

Change-Id: I33360c573a6ca7b88d0cac834caad547d66b0b2a
Handle nested folder case

Change-Id: Id6d6a5899e8255d18192adbc766d8d9a0e6825d0
Signed-off-by: Roger Chen <cxr514033970@gmail.com>