Fix file name in url and extension detection
Add conditionnal upload name updater