By the way, not many have commented on the other question. Is the way I'm doing this a good approach as far as using the map function to swap out the line I am looking for in the file? I know this can be done in quite a few different ways, but I want to limit the operations used. Also, no modules! Thanks.