Rewrite die() and error() functions on error.c
Implement chunkify_file()
Implement create_chunk()