     return access(filePath, R_OK) != -1
   }
 
-  public func canWrite(filePath: String) -> Bool {
+  public func CanWrite(filePath: String) -> Bool {
     return access(filePath, W_OK) != -1
   }
 
-  public func isDirectory(filePath: String) -> Bool {
+  public func IsDirectory(filePath: String) -> Bool {
     guard FileIsExists(filePath) else { return false }
 
     var stat_struct = stat()

    return (stat_struct.st_mode & 61440 == 16384)
  }

  public func isFile(filePath: String) -> Bool {
    guard FileIsExists(filePath) else { return false }

    var stat_struct = stat()

    }
  }

  public func GetFileSize(filePath: String) -> FileSize? {
    guard FileIsExists(filePath) else { return nil }

    var stat_struct = stat()
    stat(filePath, &stat_struct)


    return (fileWithBytes: stat_struct.st_size, fileWithK: Double(stat_struct.st_size) / 1024, fileWithM: Double(stat_struct.st_size) / (1024 * 1024), fileWithG: Double(stat_struct.st_size) / (1024 * 1024 * 1024))
  }



}
