 #define STORAGE_SIZE        1085440
 #define DATAFILE            "./data.bin"
 #define OUTPUTFILE          "./snapshot.bin"
+#define FILE_ENTRIES		1024
+#define DNE					0xffffffff
 typedef unsigned char uchar;
 typedef uint32_t u32;
 const int G_WRITE   = 1;

// ******************************************************************
// Initialize
void init_volume() {
    memset(volume, 0, STORAGE_SIZE*sizeof(uchar));
}

// ******************************************************************

// ******************************************************************
// File I/O
int loadBinaryFile(char *fileName, uchar *input, int fileSize) {
    FILE *fptr = fopen(fileName, "rb");
    // Get size
    fseek(fptr, 0, SEEK_END);

    return size;
}

void writeBinaryFile(const char *fileName, uchar *input, int fileSize) {
    FILE *fptr = fopen(fileName, "wb");
    // Read data from input file
    fwrite(input, sizeof(unsigned char), fileSize, fptr);
