There are file operators out there that will test the size and/or if it's an empty file already created, and there is no need to create a new way to do it. It's good to know that you are thinking, and I am happy that you are willing to participate, but there is a reason why laziness is a virtue. :)