Allow to use file name extension if it exists