Add size info to file object