refactor getfilesizestring