arithmemetic expansion, proper regex, no pathtofiles in sox