Fixes to get-relative-path and filename

filename now removes the '.' that was spliced in names during expansion.
get-relative-path now removes a leading './'  when encountered.