add test for existence of the file before cat'ing it