Updated mfile::getFiles(). Added filter support.