Remove file extension from file name