Refactor link_file in Rakefile
Refactor Rakefile