Adding file extension to metadata, moving files