Splitting input documents into the fields