Fixed bug with import data by server file, the metadata path was always null.