PHP API for listing files of directories.