diff --git a/rank.rb b/rank.rb
index d2d643a..1cdee0a 100755
--- a/rank.rb
+++ b/rank.rb
@@ -93,7 +93,7 @@ puts '
Hand Log
'
puts ""
puts "| Player | Hands | Score | Total |
"
even = false
-IO.readlines('hands.txt').each do |line|
+IO.readlines(ARGV[0]).each do |line|
player,cards = line.chomp.split(/,/)
score,hands = score(cards)
total[player.downcase] += score
diff --git a/hands.txt b/testhands.txt
similarity index 100%
rename from hands.txt
rename to testhands.txt