load-from-file: port load-from-file

load-from-file is helpful in may setups, and also is used in many
vhosts in the test configuration

Squash-merge of Otto's change via pull request #125