Add function to make local links file:// protocol.