For some reason, the order of these declarations matter in Mobian
Swapping "data" and "size" makes it so that "data" will not equal 0, but equal the correct value.
Changing the order and line of " gchar *filenode, *containerpath, *mimetype, *filename;" fixes a segfault issue with the mimetype.
Why this happens....I have no idea. But it does.