move parseFiles to Parser module