Parsing {filedir_n} strings.

References #18