[tor-commits] [tor/master] Move bandwidth file tests to same function