fixed get_files as in protocol (really)