return failure on zero-size file