more convenient platform-specific files handling