btw be careful with the kill statement.

It might be smarter to rename file1.whatever to file1.bak instead just in case things don't go smooth (you will have a copy of the original file)