Shell script to transform symbolic links to text files and back again.