get_name_from_file

this is for duplicity, it seems duplicity needs this :P