Just set the line I told you to set and restart Core. It will do everything automatically. If it is not, then you have created the file incorrectly. In that case, make sure the file is just bitcoin.conf. Make sure there is no extension like .txt on the file. If you are using windows, you should enable the "Show File Extensions" option so you can see the entire filename.