Take two at handling links, this is going to become much more difficult as relative links are going to be based off the file location, which is going to be varying depending on the file location in the filesystem