implements slicing and combining of fourier frequencies; implements writing filenames to a meta-file; solves #4