commands-file: misc code clean-up for the file loading