Added check to ensure embedded item file exists.