Remove ext from filename