structure
add 'file' field to metadata