Example usage of named pipes