Add a method in IOUtils to get the file extension
Resolve #9: add configuration format automatic detection