WIP: Fix computing file and config versions