do not add EOF token to the end of stream
print file name before processing