Take strace input and record open sys_calls from beginning to end of operations with all subsequent sys_calls until close.  The time and directory are returned for each file descriptor open.