Bug: "export selected" file bloat and mess

The same applies to API I wrote about it here but staff wasn’t interested I guess…