for -> forEach + use path module