print files from directory by opendir(),readdir(),closedir();