error handling for pipe
readme file