Improve the management of file with unknown extensions