get_file ok, needs cleaning