completed formatting to stdout, including deleted file first character r...

...eplacement and directories with file names
new char* in getAllFiles is the working directory