in reply to Re^2: Read file contents
in thread Read file contents

When I try to run your code, I get the error message:
Global symbol "@lines" requires explicit package name...
What happens if you fix that problem?