Changed projectLink to allow linking to files.
A bit messy, might want to refactor later to make this process more uniform.