replaced link with file