change link to file attribute