Must check that file exists before checking size.