Stopped brackets ending up in filenames