added gfile and afile keywords