click on file buttons to open them click on the opened file to close it # = number
Cloning tactic, but simpler and easier to understand