made samefile mandatory for counter