Updating the created file to a list