capture file size