added filename method to select file to append to