format
Directory
Method to format the pathname of a directory
Return
the pathname formatted as String, sample path formatted: directory/
Parameters
directory
: the raw pathname to format, sample path: directory