added file_append_contents