Added remove_file in API.