if count not provided, head gives first 10 lines by default