Create function to make and cat the fifo