I've created a variable storing the profile username and I want to reference the variable inside of a file path, but I'm getting an error message. When I hard-code the profile username into the file path the file opens successfully. I realized it's because the file path is line breaking after the variable, is there a way to fix this so I can include the variable inside the file path?
File path: C:\Users\%variable%\Downloads
Error message: Illegal characters in path.: Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException: Failed to read text from file C:\Users\sesa758156
\Downloads ---> System.ArgumentException: Illegal characters in path.