// Allocates the memory for the File Blocks
fileBlocks = (FileBlock*)calloc(metaFileInfo->filesCount + 1, sizeof(FileBlock));
// Initialized the variable that counts how many file blocks we have
metaFileInfo->fileBlocksCount = 0;
// This will open you last pad00000.meta.backup file,
// just in case your current pad00000.meta file is already modified.
FILE* metaFile = openFile(getLatestBackup(),"rb");
// Go to where the file blocks start
fseek(metaFile,metaFileInfo->originalFileBlocksStart,SEEK_SET);
// Fill the File Blocks
for (i = 0; i < metaFileInfo->filesCount; i++)
{
// Saves the exact byte where this registry begins (VERY IMPORTANT)
fileBlocks[i].metaOffset = ftell(metaFile);
// Reads the next 28 bytes of the meta file and stores it
fread(&fileBlocks[i].hash,sizeof(long),1,metaFile);
fread(&fileBlocks[i].folderNum,sizeof(long),1,metaFile);
fread(&fileBlocks[i].fileNum,sizeof(long),1,metaFile);
fread(&fileBlocks[i].pazNum,sizeof(long),1,metaFile);
fread(&fileBlocks[i].fileOffset,sizeof(long),1,metaFile);
fread(&fileBlocks[i].zsize,sizeof(long),1,metaFile);
fread(&fileBlocks[i].size,sizeof(long),1,metaFile);
metaFileInfo->fileBlocksCount++;
}