Added feature to execute txt files