File Import.

Moved code from https://baronbar.codeplex.com/