```new_info``` is not used so ```os_get_file_info``` can be replaced with ```os_file_exists```