verifying if log file exists at path