Fix to discard root files