What is this call to replace doing? I don't see any " in your input file.