function mainFile = getMainFile(metadata)
mainFile = [metadata.main '.' metadata.extension];