Make file size an optional value

There are cases where we won't be able to reliably specify the file size.