list=[]

count=0

Dir["/div/file/*"].each do |x|

list[count]=x

count+=1

end