#include< stdio.h> main (int argc, char *argv[]) { FILE *fp; if (argc!= 2) printf ("Please Enter a FileName\n"); else { fp = fopen (argv[1], "r"); printf ("File Found\n"); fclose (fp); } return 0; } #### #!/usr/bin/perl ./a.out input.txt > output.txt ###How should I do this? $output_file="output.txt"; open(OP, $output_file) || die("Could not open file!"); @sequence=; # tosses the contents of "output.txt" in an array "@sequence" to work on.