I am making a func that edits a text file in the Users/johnDoe Dir.
let filename = \"random.txt\" let filePath = \"/Users/johnDoe\" let replacementText = \"
There should be an easier way but -- at worst -- this should work:
let filePath = NSString(string: "~").expandingTildeInPath