rework getFileSize
small fix
ok; still some bugs that had to be fixed
bugfixes
small fix
initialisation of cipher
Merge pull request #11659 from jknockaert/master

rework getFileSize