fixed #15 - files are not opened twice anymore
Merge pull request #16 from iamntz/st3

fixed #15 - files are not opened twice anymore