Remove work file section
Test if file or directory exists before linking