implement a load-from-file helper