get_name of the file, error if file can't be open