aaargh: you can check fds using /proc/pid/fd