fix rar function and add filter to arhive