list file if appdir is a directory