test_multi1.c works now but only if the directory is empty at the start