Function which finds and alters info

This is a program, which finds and alters info given in a format
specified by the document 'file.txt'
This is my first try, but I believe this is fairly simpler to do with
lists. Might give it a go in near future.