added file stream reader.