Switch to Biginteger for necessary file configuration

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>
Fix getting the total file size

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>