How to use content pipe for File writing on an IL comp?

Any tips on using content pipe for file writing/streaming? I have an openmax IL component which writes the formated data to a file. How do i use the uri parameter in the CP apis. How does the OMX_GetContentPipe api works, if there are multiple content pipes in the system? Thanks in advance for your expert advice…

One more related query, when content pipes are used, Is there any restriction on max size of data that can be fetched or rendered?