read characters from file and made scripts execution order deterministic