Modify from file input to array(Bash)