fixing writing and reading lore, prefix, and suffix files