Create new text file

Hello friend

I am developing flash exe.
i want store some data in text file

  1. How can i create new text file in my client machine at runtime

  2. anyother options is there

Thanks in Advance