Adding prompt and unblock-file functions