Remove file extension from key