Added functionality to load commands from a file