     }
     
     
-    internal static func writeToFile(file: String, string: String, loggerName: String) {
+    internal static func writeToFile(file: String, logMessage: String, loggerName: String) {
         
         if !Logger.fileManager.fileExistsAtPath(file) {
             Logger.fileManager.createFileAtPath(file, contents: nil, attributes: nil)
         }
         
         let fileHandle = NSFileHandle(forWritingAtPath: file)
-        let data = string.dataUsingEncoding(NSUTF8StringEncoding)
+        let data = logMessage.dataUsingEncoding(NSUTF8StringEncoding)
         if fileHandle != nil && data != nil {
             fileHandle!.seekToEndOfFile()
             fileHandle!.writeData(data!)


    
    // Custom dispatch_sync that can incorporate throwable statements
    internal static func dispatch_sync(queue: dispatch_queue_t, block: () throws -> ()) throws {
        
        var error: ErrorType?
        try dispatch_sync(queue) {

    }
}

// TODO: When logging about file operations, is it okay to display the full path to the log files?

// TODO: Refactor this entire file so that it is better organized and more readable. Consider using extensions.

