Check if the file metadata exists before adding it to the database
Merge remote-tracking branch 'origin/runtime_import' into next

* origin/runtime_import:
  Check if the file metadata exists before adding it to the database