change parameter name
check if the metadata file does not exist, use table structure instead of throwing exception