Logs working directories in opened_files table