properly handle .rar files