Adding links for 'file' mode