add get_filenames_by_extension & directory_copy  helpers