<div dir="ltr">Thanks. ​I don't know if I was clear that I'm writing the characters of the FilePath to a file. I could use something like:<div><br></div><div>writeFilePaths :: FilePath -> [FilePath] -> IO ()</div><div>writeFilePaths fileToWrite fps = ...</div><div><br></div><div>The ByteStrings are for reading the files generated by the above and parsing with Text.Parsec.ByteString, for efficiency (these are many megabytes of text)</div><div><br></div><div>D</div><div><br></div></div>