Remove FileInfo instance check

FileInfo class doesn't exist in stable6