DJBAVTVO6E7GXXX4I6J4IHXP6URTJ7W6BTGN5PN5R2W7CU7XC5PQC
p = chop(pth, tail = 1) |> x -> replace(x, "/" => "---") #delete trailing / then replace / with ---
#name = "$p-$file_name-$(Int(floor(st/freq)))-$(Int(ceil(en/freq)))"
name = "$file_name-$(Int(floor(st/freq)))-$(Int(ceil(en/freq)))" #leave off path, not necesaray
##p = replace(pth, "/" => "--") #replace / with -- including trailing /
##name = "$p$file_name-$(Int(floor(st/freq)))-$(Int(ceil(en/freq)))"
name = "$file_name-$(Int(floor(st/freq)))-$(Int(ceil(en/freq)))" #leave off path, not necesaray if unique file names