replace main file with link to others