That's probably the easier implementation, thank you for that. This is my kind of solution and though I really like it, I'm sure if Drugwash sees this (the way he can be a PITA at times for little nothings ), the first thing he'll say is "what if somebody changes the .ini manually?".. or something like that. and because the current state of the Files plugin is more of his hard work than mine, I tried to put in a little extra bit.
Anyway, I still saw an issue with the earlier code (mine) and modified it a little. Haven't bumped the main version, only internally this is 0.41.2