added code for ordering files directives amongst other file-centric directives