Files are now encrypted on import

Also refactored the selection methods as I wanted to select the file that was just added. But since it was not easily possible, I removed the part where the added file is selected. However the refactoring is still there. It is probably better that the file is not selected upon import, because then one can instantly add another one if that is desired.

Closes #96.