create figures file