Added functional for select: use file guid, file url or local file