Add input parameter validation for GetThumbnail method of FileManager.