registerFile class added