auto add new files that match the specified glob patterns - need to make it cleaner though