display file contents if text file