Extracts files from subfolders to the root folder