Checking output file