trial script for txt and py files