Replace top_file statement by state_top