Removing symbolic links and restoring files to original locations