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

...eplacement and directories with file names
Case where file is deleted with no extension