doc: rollback html edit of imfile doc

The html editor did a total rewrite, which causes merges from
older versions to fail miserably.
rollback html editor rewrite of imfile
Merge branch 'v7-stable'