Reallocates all files in different directories