use /usr/bin/stat instead of /bin/ls to obtain file name and size