Move loop as usr/Loop
Trap sigint and sigterm, and clean
Add a test of trace
Move to next file after (un)staging a file