pidof program-name, and get the proc number
ls /proc/PID/fd/ -la
will list all opened files, even the deleted ones that you can still access!
You can also:
file -L *
to learn the type of each file
There are other interesting stuff in these directories, such as the cmd file with the command used to start the program and the net dir with the networking resources that this program is using.