Add filename_from_components and test_filename_from_components