fix filename with --
speed up check exist file