writeFileInDirectoryPath()
Writes the specified filename to the path returned from a
getDirectoryPathFromRegistry()
command.