Help for Plain Text Problems

1 How to insert the FileName as the first Paragraph in each file of various documents located in one folder looping so every document will begin with his filename?

2 My files have various encodings including Chinese and so on. How to “Zap Gremlins” for every file located in a folder. Also in this case if possible it should allow to work for every file in a specific folder?

Thanks in Advance

Browser: Safari 534.57.2
Operating System: Mac OS X (10.6)