completed formatting to stdout, including deleted file first character replacement and directories with file names