File Directory Ruby

f = open('binary')
puts f.pos                                
puts f.read(1)                            
puts f.pos