M: Library: add simple version 'getFiles' method. +test.