Extended exec command with file import functionality

Assigning to @mrvisser for a first round of review
I thought it might have something to do with. It's better with `F` then, thanks!