Add utility to calculate file transfer time