close blacklist file after opening it