You allocate the filesize in memory here.