public static function write( $path, $content ) 
	{
		static::mkdir( $path );

		// if writing the file fails
		if ( file_put_contents( $path, $content, LOCK_EX ) === false ) 
		{

			if ( static::_can_print() ) 
			{
				CCCli::line( CCCli::color( 'failure', 'red' ).' creating '.$path );
			}

			return false;
		}

		// everything went good
		if ( static::_can_print() ) 
		{
			CCCli::line( CCCli::color( 'created', 'green' ).' '.$path );
		}

		return true;
	}