ticket:000 set id for data table
ticket:296 use most recent file if file with specified last_modified not found
Merge branch 't296_upload_and_use_the_latest_metadata_if_metadata_with_specified_last_modified_was_not_found'