Move find_and_set_first_file to frontend_salamander.c