Added the possibility to manage multiple files

Closes #21 and closes #25