remove file extension from name