Use Refelection directly to access FileType, cleanup late binding code.
Merge pull request #17 from Dmitry-Me/reflectioninsteadofdynamicbinding

Use Reflection directly to access FileType, cleanup late binding code.