Support for freading list from stdin added