create links file