[CentOS] bash script reading directory with while and do