How come you don't mention the most obvious solution, `cat $filename`?
In reply to Re: TIMTOWTDI Challenge: Open a file by ambrus in thread TIMTOWTDI Challenge: Open a file by Tanktalus