Extracted file open function - returns values of read file into an array