You should use os.Stat() to get the size.  No need to open the file.