Sloth is a native Mac app that shows all open files, directories, sockets, pipes, and devices in use by all running processes on your system. This makes it easy to inspect which apps are using which files, etc.

https://github.com/sveinbjornt/Sloth

Instead of lsof

maclsofsockettool