Adding basic format string support.
Adding support for directories to the format string.