minor changes, made files directive work for simple case
added ordering directive