use Sys.glob instead of dir in getorderedfilelist, this way matching a . character can be done because currently it seems that escaping it doesn't work when the argument is passed through multiple functions (probably because of 'paste')
Merge pull request #2 from kostrzewa/getorderedfilelist_fix

use Sys.glob in getorderedfilelist