Check whether the compressed file is bigger than original or is empty

Are you sure we will have files with size = 0 ?
If there will be an accident, I think it'll contain some error messages?