treat empty file as non-exists