Convert text file to cmd module so that it can be required by cmd loaders