file2str simply reads a file and returns the contents as a null terminated string.