all files to shared memory
all filenames to variables