added the '-' filename to read stdin