use file-name-as-directory for dir name concats