Added [O]pen file option and merged array from list.txt to  array.