Program can list files according to extension