fixes #10, not executing code if no files present