What part are you refering to? thats what I do with the remove function,
1. reads the file
2. stores in memory
3. edits memory file (removes the requested name)
4. writes the memory file out
1. reads the file
2. stores in memory
3. edits memory file (removes the requested name)
4. writes the memory file out