make readcomments work for every file via stdin