cant figure out how to read the filenames, whats going on with the string encoding