fix empty files/unused ones