we should stat the file and return an error if the file doesn't exist or is non-zero length.