Input possible from -f flag, stdin and tty