Convert Object to IFropmFile - C#