Send directory listing when no file is requested

There is no way for the client to list shared files. Send a list of all
file names if no file is requested.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>