Making commands more modular, starting with cat