added simplistic support for filename ordering