my $path = join ('/', $HOME, 'classes', $CSC, $studentid, $assignment, 'outputfile.txt');