fixed bug where multiple instances were not being read
closing file
normal python arrays for test instance