factored out simple library call 'parse_files' to DTRD

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>