Added log in file