Add local file loading capability

This will be used in implementation of #3438.