https://kasumiblog.org/php-directory-file-archive/
【PHP】ディレクトリに格納されているファイル一覧を取得する方法