Extend PubSub to support regex pattern topic subscription
remove temp files