refactoring BOMFileEncoding custom constructor
Huge refactoring
replacing Minidetection result Await command