Added the possibility to give a src without to have to give the extensions in the src