send filename to the script