callback

functional callback in loadFile, doEvertything implemented (needs
cleanup)