docs: clarified example by splitting into two files