added P<doc:> and P<file:>