Changed to using stdint.h
The advantage of stdint.h is that you can guarantee it will be a 32bit
int for int32_t regardless of the architecture.
Now reads the file name and file size.
Need to add logging. Need to think about best way to do it. Probably the
best way would be create a new file for every transaction where the file
name would be based on the time of the connection.