Update to fileType detection, it now works.

Previous implemented file.type is empty which fails this verification.