Add reading arrays from file, add input file with arrays