modifies simplehtmldom file, and adds folder node and page