I want to know how threads work in nifi i mean one processor has one thread or they are in one main thread? perhაps i want to get one file from processor and then i want to update it how can i prevent getting file data by several processor at a time except using keep file =false action?