Checking for empty file