use isatty instead tty -s
separate check input and output
epm-filelist: add less