Determine which files a process opened (Linux)

$ strace -e trace=open /path/to/your/program 2>&1 | less

Strace

http://linux.die.net/man/1/strace