Working implementation of load-function without the usage of >> overload