add ability to bind mount an individual file.

Fixes #2671: Add the ability to bind mount individual files. This is a rebase of #2301 and #1757 with a passing unit test.