-def insert_string(filename, string):
- """Inserts a string at the beginning of the file
+def append_string(filename, line):
+ """Appends 'line' to file
+ """
+ f = file(filename, 'a+')
+ print >> f, line
+ f.close()
+
+def insert_string(filename, line):
+ """Inserts 'line' at the beginning of the file