split file
split method definitions
add to_a,as_list method