Get rid of filename ext.