listfiles.php: generic