my $file= basename($ans);#I dont have to use this I know.