Rewrote 'read_file()' without 'strtok()' nor 'strtok_r()'.