Fix: filter by weight is separated from writing a file