The file format I've been given is standard for our schools' management system. Now the code I have removes the quotes happily - all I need to do is remove any '-' from the usernames as well. The other fields are mostly irrelevant.