read from stdin if no files are provided