Refactor robot file reader out of loader to implement
reload function.
Implemented reload function