Get chmod numerical From http://unix.stackexchange.com/questions/46915/get-the-chmod-numerical-value-for-a-file
stat --format '%a' <file>