How to access resources in flat distribution package