remove append_to_file method no longer used