Finalizes the file format for hadoop