Refactor options reporting
Improve handling of empty magic files