get file size from shock: zero size file not error