a couple of quick fixes

bug fix: -file switch requires a string argument
bug fix: teamids passed on the command line were not being properly checked.