Added new methods.

  Added ::exists + ::is_directory, since these make sense.
  Use the new CFile::exists() methods.
  Use the new CFile::is_directory method.
  Updated to use the new CFile class.

  SInce this now has the ::exists + ::is_directory members.