Outputting data in flash to text documents, creating textdocs with flash & mc filters

Question 1: How do I add a filter to a movieclip from actionscript,
More specificly, the “adjust color” filter, and I want to decrease brightness, saturation, hue, and contrast… by actionscript…
If you dont know what I mean, use the circle tool to create a circle, convert to movie clip, click the “filter” tab, then click + and add a adjust color filter, you’ll see what I mean…

Question 2: I need to output text to ‘text’ documents, no I cannot use shared objects for this, as it is a program for a client, and it isn’t safe enough for me…

Basically, this is what I want to do…

var archive:Array = [];
archive[7] = "Hello I am the 8th archive";

//save to a text document called "archive7" in the directory myProgram\files\
//finished with code...

then

on initilization of my program, it’d do this

//get text from the text document I saved in the directory "myProgram\files\archive7"

Thats what I really need

Question 3:Is there a way to create a folder, text document, through flash
//example

var textdoc:TextDocument = new TextDocument();
textdoc.name = archive7;
textdoc.text = "Hello I am the 8th archive";

Can anyone tell me how to do this

Thanks in advance