File.open(ARGV.first).each { |line| title, fn = line.chomp.split(/\t/) raise unless fn puts fn unless File.exist?(fn) }