Added ToFileInfo() extension method