sample.txt
file in a create_file
task and then returning that file as FlyteFile and then in read_and_print_file
task we are taking the flyteFile as input and then printing the content of the file./tmp/sample_directory
directory in create_directory
task and then we are passing this directory in read_and_print_directory
task to print the files in that directory and the content of these files.