Prettified logging output
Altered clear_dir function to handle ignore list properly