listen to the file