do not return 'None' but Some(0L) for empty files