Local structural investigation of non-crystalline materials at high pressure