DirectoryNotFoundException when running a build

I’m having issues reading a txt file from the Assets folder when running a build. No problem when running in the editor.

FileNotFoundException: Could not find file "C:\Users\lexi-\Desktop\Builds\Dont Sleep_Data\lostClothes.txt"

Here’s the code I’m using.

public static string Get(string fileName)
{
    string path = $"{Application.dataPath}/{fileName}.txt";
    return File.ReadAllText(path);
}

Using Resources.Load instead of System.IO.File fixed everything. Take note, using Resources.Load requires you to make a folder called “Resources” in the Assets folder and storing the files there.
This is how my function looks now.

public static string Get(string fileName) => Resources.Load<TextAsset>($"Dialogue/{fileName}").text;