In these two functions, I am using inotify instance to monitor the paths and I want to monitor two paths at the same time but after giving the locations of the
inotify instance