Very simple version of PS used as an example of directory traverse