check the text file for all operations