string split and file io