Convert txt file to echo commands