added target folder traversal