Capture file path as string

I’m sure this is obvious to some of you, but I can’t seem to figure out how to capture the file path as a string.

Can someone help me out?

Thanks!

Eg:

set x to (choose file) --> alias "path:to:file"
x as string --> "path:to:file"