Added feature to create the specified file directory locally if it
doesn't already exist