Script that converts file tree into flat folder. File names in flat folder reflect their place in file tree. For example dir1/dir2/file will be renamed to dir1__dir2__file