remove extension from the file name