public function mkdir_p( $file, array $atts = array() ) {

		$dir_levels = $this->parse_path( $file );
		$path = '';

		$atts['type'] = 'dir';

		foreach ( $dir_levels as $level ) {

			$path .= '/' . $level;

			if ( $this->exists( $path ) ) {
				continue;
			}

			if ( ! $this->add_file( $path, $atts ) ) {
				return false;
			}
		}

		return true;
	}