Added add_file method to append file to list