Mark up directory and file names and remove leading slash.