Turn script into module
ignores *.txt