public static function FromFile( string $file, bool $checkIfFileExists = false )
   {

      if ( $checkIfFileExists && ! \file_exists( $file ) )
      {
         return false;
      }

      try
      {
         return DateTime::Parse( \filemtime( $file ) );
      }
      catch ( \Throwable $ex )
      {
         $ex = null;
         return false;
      }

   }