read file to Array