printing list of files in console