used popen("ls *.html", ...) for html scanning to get sorted list