Added check is empty file