Added hooks to take a file recieved by core hub