handle dir

-- aaa/index.html --
<!DOCTYPE html>
<html>

-- git-README-only/index.html --
<!DOCTYPE html>
<html>

-- git-README-only/other/index.html --
<!DOCTYPE html>
<html>

-- git-README-only/pkg/index.html --
<!DOCTYPE html>
<html>

-- index.html --
<!DOCTYPE html>
<html>

-- other/index.html --
<!DOCTYPE html>
<html>

-- tiny/index.html --
<!DOCTYPE html>
<html>

