Can i put the data in a .txt in a flash variable?

hey i am trying to make some sort of database and i have a 2d array in a .txt file. I want to take that data and transfer it into an array type variable in flash so i can change it and then put it back in the .txt file… is it possible? pls answer TY