Implemented and tested append_files()