fix typo
add missing import
propagate verbose
add filesize and transienttempfile functions