function get_file_name_from_path update + tests