replaced gem ls-files by Dir[]
updated version