Fix bug with the place of the file while listenning