Added pdf handler, but there is a problem with fies