file link and better debug