Alice 2.0 does support scripting, but it is not enabled in its current incarnation. You will have to go into the source code and enable it yourself. The source code can be downloaded by scrolling to the bottom of the Alice download page:
http://www.alice.org/downloads/authoringtool/
I also believe file I/O can be done. Again, this would require going into the source code and modifying the code. Feel free do try this. Others with enough motivation have modified the source code with varying degrees of success. Please let us know how it turns out!